www.gusucode.com > 云网互动影视系统(12套模版和资源联盟) 6.2 > 云网互动影视系统(12套模版和资源联盟) 6.2.4/免费版/Admin/Labeling/FlashSlide.asp
<html> <head> <META content=ywnt,云网互动影视管理系统 name=keywords> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>云网互动影视6.0--FLASH幻灯标签</title> <LINK href="../css/css.css" type=text/css rel=stylesheet> </head> <BODY leftMargin=0 topMargin=0 scroll=yes MARGINHEIGHT="0" MARGINWIDTH="0"> <script language="JavaScript" src="../YWNT_TMS_Inc/YWNT_TMS_Common.js"></script> <!--#include file="../../Conn.asp" --> <!--#include file="../YWNT_TMS_inc/YWNT_TMS_Function.asp" --> <table class=table cellspacing=1 cellpadding=3 width="98%" align=center border=0> <tbody> <tr> <td colspan="4" class=xingmu>FLASH幻灯标签</td> </tr> <form method="post" name="FlashSlideForm"> <tr> <td width="19%" height=32 align="right" class="hback">选择栏目:</td> <td class="hback"><input name="ClassName" type="text" size="30" readonly> <input name="typeid" type="hidden" id="typeid" value=""> <input type="button" name="SubmitClass" value="选择栏目" onClick="SelectClassLeb();"> 不选择为空则是显示全部栏目内的影片</td> </tr> <tr> <td height=32 align="right" class="hback">幻灯样式:</td> <td height=32 class="hback"><select name="Style" onChange="ChoosePic(this.value);" style="width: 150px;"> <option value="1">样式一</option> <option value="2">样式二</option> <option value="3">样式三</option> <option value="4">样式四</option> </select> <font id="FlashSm" color="#FF0000"></font></td> </tr> <tr> <td height=32 align="right" class="hback">图片大小:</td> <td height=32 class="hback">宽度: <input name="Slidewidth" type="text" value="90" size="5"> 高度: <input name="Slideheight" type="text" value="120" size="5"></td> </tr> <tr> <td height=32 colspan="3" class="hback" id="PreviewArea"> </td> </tr> <tr> <td height=32 colspan="4" align="center" class="hback"><input type="button" onClick="ok(this.form)" name="Submit" value="添加"></td> </tr> </form> </tbody> </table> <script language="JavaScript"> function ok(obj) { var retV = '{$FlashSlide('; retV+= formvalue(obj.typeid.value) + ','; retV+= obj.Style.value + ','; retV+= formvalue(obj.Slidewidth.value) + ','; retV+= formvalue(obj.Slideheight.value) + ')'; retV+='}'; InsertLabel(retV) } function formvalue(namevalue) { if(namevalue=="") namevalue='""'; return namevalue; } ChoosePic("1") function ChoosePic(style_id) { document.all.PreviewArea.innerHTML="<img src='Style/FlashSlide"+style_id+".gif' />"; switch (style_id){ case "1": document.getElementById("FlashSm").innerHTML="此样式只能显示6个幻灯"; break; case "2": document.getElementById("FlashSm").innerHTML="此样式只能显示6个幻灯"; break; case "3": document.getElementById("FlashSm").innerHTML="此样式只能显示5个幻灯"; break; case "4": document.getElementById("FlashSm").innerHTML="此样式只能显示1-10个幻灯"; break;} } <%if Request.QueryString("text")=1 then%> function InsertLabel(LabelContent) { window.returnValue=LabelContent; window.close(); } window.onunload=SetReturnValue; function SetReturnValue() { if (typeof(window.returnValue)!='string') window.returnValue=''; } <%else%> function InsertLabel(LabelContent) { var obj=dialogArguments.oUtil.obj; obj.insertHTML(LabelContent) window.close(); } <%end if%> </script> </BODY></HTML>